<?php
$this->breadcrumbs=array(
	'Customers'=>array('customer/admin'),
	$model->customer->getFullName()=>array('customer/view','id'=>$model->customerId),
	'Properties'=>array('admin','customerId'=>$model->customerId),
	'#'.$model->id,
);
if(Yii::app()->user->checkAccess('customerInfoAccess',array('customerId'=>$model->customerId))){
	$this->menu=array(
	//	array('label'=>'List Property', 'url'=>array('index')),
		array('label'=>'Create Property', 'url'=>array('create','customerId'=>$model->customerId)),
		array('label'=>'Update Property', 'url'=>array('update', 'id'=>$model->id)),
	//	array('label'=>'Delete Property', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
		array('label'=>'Manage Property', 'url'=>array('admin','customerId'=>$model->customerId)),
	);
}
?>

<h1>View Property #<?php echo $model->id; ?> of <?php echo $model->customer->getFullName();?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
//		'id',
		'address',
		'suburb',
		'postcode',
		'state',
		'country',
		'status',
		'Note',
		//'customerId',
	),
)); ?>
